package com.zrfintech.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zrfintech.domain.SpInstitutionProductRelation;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Options;
public interface SpInstitutionProductRelationDaoI extends BaseMapper<SpInstitutionProductRelation> {

   @Insert("INSERT INTO `sp_institution_product_relation` (`product_id`,`institution_id`,`product_status`) VALUES (#{productId},#{institutionId},#{productStatus})")
   @Options(useGeneratedKeys = true, keyProperty = "id")
   int create(SpInstitutionProductRelation spInstitutionProductRelation);
}
